import Vue from 'vue'
import VueRouter  from 'vue-router'

import One from '@/views/One'
import Two from '@/views/Two'
import Three from '@/views/Three'

Vue.use(VueRouter)

const router = new VueRouter({
    routes:[
        {
            path:'/',
            redirect:'/find'
        },
        {
        path:'/find',
        component:One
    },{
        path:'/my',
        component:Two
    },{
        path:'/part',
        component:Three
    }
]

})
export default router